package com.gom.ext.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.gom.framework.base.action.GOMDispatchAction;
import com.gom.framework.util.DataUtils;

public class GetDataAction extends GOMDispatchAction {

	@Override
	protected Class getBoClass() {
		return null;
	}

	public ActionForward getData(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)throws Exception {
		String jsonStr = "{\"id\":\"xxxxxx\"}";
		DataUtils.responseWrite(response, jsonStr);
		return null;

	}
}
